package com.neusoft.training.podcast.service;

import java.sql.Date;
import java.sql.Time;
import java.util.List;

import com.neusoft.training.podcast.entity.Video;

public interface VideoService {
	
	List<Video> findAllVideos();
	
	void deleteVideo(String videoID);
	
	List<Video> findVideoOfAuthor(Integer authorID);
	
	void addVideo(String videoID,String title,Time totalTime,Date uploadTime,Integer size,Integer authorID,
			 Integer categoryID,String extendName,String filePath,Integer videoIsDel,String cover);
	
	void saveVideo(Video video);
	
	int countCategoryVideos(Integer categoryID);
	
	void changeVideoCover(Video video);
	
	Video findVideoByID(String videoID);
	
	void clickVideo(String videoID);
	
	void likeVideo(String videoID, Integer recommentCount);
	
	List<Video> findVideoByName(String title);
	
	List<Video> showVideosByCategory(String categoryName);
	
	List<Video> findVideoByMName(String title);
	
	List<Video> findFavouriteVideoByID(Integer userID);
	
	List<Video> findCommentVideo(Integer userID);

	

}
